Package-level declarations

Types

Link copied to clipboard
data class LocationMarketModel(val description: String = "", val name: String = "", val dmaId: String = "", val marketId: String = "", val marketName: String = "", val langCode: String = "", val geoHash: String = "", val unit: String = "", val latitude: String = "", val longitude: String = "", val countryCode: String = "")

Represents a location and market model in the prepurchase flow.

Link copied to clipboard

Manages persistent data storage for the prepurchase flow using DataStore.

Link copied to clipboard
data class UpdateLocationInfo(val location: Location?, val shouldLoadHomeScreen: Boolean = false)

Represents location update information in the prepurchase flow.

Functions

Link copied to clipboard
fun setUpCountrySwitcher(context: Context, toolbar: Toolbar?, transparentBG: View?, countrySwitchBottomSheetBehavior: BottomSheetBehavior<View>?, bottomSheet: ConstraintLayout?, window: Window, labelAnalytics: String, hideCountrySelector: Boolean, tmPrePurchaseCountryPickerListener: TMPrePurchaseCountrySelectorListener?, selection: (TMMarketDomain) -> Unit)

Sets up the country switcher UI in the prepurchase flow.